import request from '@/utils/request'
import { download } from "@/utils/request"

export default {
  //数据字典列表
  dictList (id) {
    return request({
      url: `/admin/cmn/dict/findChildData/${id}`,
      method: 'get'
    })
  },
  exportData () {
    return download({
      url: `/admin/cmn/dict/exportData`,
      method: 'post'
    })
  }
}
